import request from '@/axios';

export const get = (productKey) => {
  return request({
    url: '/proxy/blade-broker/product/script/get',
    method: 'get',
    params: {
      productKey
    }
  })
}

export const insertOrUpdate = (row) => {
  return request({
    url: '/proxy/blade-broker/product/script/insertOrUpdate',
    method: 'post',
    data: row
  })
}

export const debug = (row) => {
  return request({
    url: '/proxy/blade-broker/product/script/debug',
    method: 'post',
    data: row
  })
}
